package com.hkts.management.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @ClassNameUserAndRealNameVo
 * @Description
 * @Author yck
 * @Date2021-05-11 17:25
 * @Version V1.0
 **/
@Data
@ApiModel(description = "用户及认证信息")
public class UserAndRealNameVo {
    @ApiModelProperty(value = "用户id")
    private String id;
    @ApiModelProperty(value = "登录时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime loginTime;
    @ApiModelProperty(value = "认证状态")
    private String approval;
    @ApiModelProperty(value = "手机")
    private String mobile;
    @ApiModelProperty(value = "司机姓名",required = true)
    public String driverName;
    @ApiModelProperty(value = "头像",required = true)
    private String headPortrait;
    @ApiModelProperty(value = "车辆车型",required = true)
    private String ehicleType;
    @ApiModelProperty(value = "车长",required = true)
    private String vehicleLength;
    @ApiModelProperty(value = "车牌",required = true)
    private String carCode;
    @ApiModelProperty(value = "登录城市")
    private String loginCity;
    @ApiModelProperty(value = "认证信息")
    private Map<String,Object> approvalUrl;
    @ApiModelProperty(value = "登录城市")
    private String identity;

}
